function tip() {
    var bg = '#E64340';
    if (arguments[1] == 1) {
        bg = '#1AAD19'
    }
    $('_tip').remove();
    $('body').append("<div class='_tip' style='background:" + bg + ";font-size:20px;opacity:0.9;padding:20px 0;text-align:center;width:100%;left:0;top:0;color:#fff;position:fixed; z-index: 1000'>" + arguments[0] + "</div>");
    setTimeout(function () {
        $('._tip').fadeOut(1000, function () {
            $(this).remove();
        });
    }, 1000);
}